package cn.iocoder.an.module.business.controller.admin.equipmentkeepsettingtype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 保养类型新增/修改 Request VO")
@Data
public class EquipmentKeepSettingTypeSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14592")
    private Long id;

    @Schema(description = "保养项设置")
    private List<Long> keepSetting;

    @Schema(description = "类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "类型名称不能为空")
    private String name;

    @Schema(description = "周期(天)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "周期(天)不能为空")
    private Integer cycle;

    @Schema(description = "提前提醒(天)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "提前提醒(天)不能为空")
    private Integer remind;

    @Schema(description = "状态", example = "2")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "描述", example = "随便")
    private String description;

}